export const PR_GET_TABLE_DATA = 'PR_GET_TABLE_DATA';
export const PR_SET_TABLE_DATA = 'PR_SET_TABLE_DATA';
export const PR_CHANGE_TABLE_LOADING = 'PR_CHANGE_TABLE_LOADING';
export const PR_GET_SOURCE_DATA = 'PR_GET_SOURCE_DATA';
export const PR_SET_SOURCE_DATA = 'PR_SET_SOURCE_DATA';


export const prGetTableData = (params) => ({ type: PR_GET_TABLE_DATA, params });
export const prSetTableData = (data) => ({ type: PR_SET_TABLE_DATA, data });
export const prChangeTableLoading = (option) => ({ type: PR_CHANGE_TABLE_LOADING, option });
export const prGetSourceData = (params) => ({ type: PR_GET_SOURCE_DATA, params })
export const prSetSourceData = (data) => ({ type: PR_SET_SOURCE_DATA, data });